<?php

namespace Drupal\s_announcement\ViewsController\handler\filter;

use Drupal\s_announcement\ViewsController\Traits\SAnnouncementStickyTrait;
use views_handler_filter_in_operator;

class SAnnouncementStickyViewsFilter extends views_handler_filter_in_operator {

  use SAnnouncementStickyTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "推荐到首页 0 否 1 是";
      $this->value_options = $this->getStickyOptions();
    }
  }
}
